package com.pojo;


import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

public class Product implements Serializable {

  private String id;
  private String productName;
  private String productImage;
  private double price;
  private String productType;
  private String productDesc;
  private Timestamp createTime;
  private String productBrand;
  private Integer productNum;
  private ProductType pt;
  private Brand brand;


  public Integer getProductNum() {
    return productNum;
  }

  public void setProductNum(Integer productNum) {
    this.productNum = productNum;
  }

  public Brand getBrand() {
    return brand;
  }

  public void setBrand(Brand brand) {
    this.brand = brand;
  }

  public ProductType getPt() {
    return pt;
  }

  public void setPt(ProductType pt) {
    this.pt = pt;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }


  public String getProductName() {
    return productName;
  }

  public void setProductName(String productName) {
    this.productName = productName;
  }


  public String getProductImage() {
    return productImage;
  }

  public void setProductImage(String productImage) {
    this.productImage = productImage;
  }


  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }


  public String getProductType() {
    return productType;
  }

  public void setProductType(String productType) {
    this.productType = productType;
  }


  public String getProductDesc() {
    return productDesc;
  }

  public void setProductDesc(String productDesc) {
    this.productDesc = productDesc;
  }


  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }


  public String getProductBrand() {
    return productBrand;
  }

  public void setProductBrand(String productBrand) {
    this.productBrand = productBrand;
  }

  @Override
  public String toString() {
    return "Product{" +
            "id='" + id + '\'' +
            ", productName='" + productName + '\'' +
            ", productImage='" + productImage + '\'' +
            ", price=" + price +
            ", productType='" + productType + '\'' +
            ", productDesc='" + productDesc + '\'' +
            ", createTime=" + createTime +
            ", productBrand='" + productBrand + '\'' +
            ", productNum=" + productNum +
            ", pt=" + pt +
            ", brand=" + brand +
            '}';
  }
}
